package app.qrcode.browser.chat.model.db

import android.content.Context
import app.qrcode.browser.chat.model.dao.ContactTableDao
import app.qrcode.browser.chat.model.dao.InviteTableDao

/**
 * Created by DomenCai on 2022/3/12.
 */
class DBManager(context: Context, name: String?) {

    val dbHelper = DBHelper(context, name, 1)
    val contactTableDao = ContactTableDao(context)
    val inviteTableDao = InviteTableDao(context)
    fun close() {
        dbHelper.close()
    }
}